<%@ page import="dao.GoodDao" %>
<%@ page import="po.Good" %>
<%@ page import="dao.impl.GoodDaoImpl" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="resources/css/amazeui.min.css">
    <link rel="stylesheet" href="resources/css/admin.css">
    <link rel="stylesheet" href="resources/css/app.css">
    <style>
        .admin-main {
            padding-top: 0;
        }
        .am-form-group{
            width: 200px; margin: 0 auto;
        }
    </style>
</head>
<%
    String goodid = request.getParameter("goodid");
    GoodDao dao = new GoodDaoImpl();
    Good good = dao.getGood(goodid);
%>
<body>
<div class="am-cf admin-main">
    <!-- content start -->
    <div class="admin-content">
        <div class="admin-content-body">
            <div class="am-g">
                <form class="am-form am-form-horizontal" action=putStorageProcessing.jsp?goodid=<%=good.getGoodId()%> method="post"
                      style="padding-top:30px;" data-am-validator name="form1">
                    <div class="am-form-group">
                        <h3>输入入库的<%=good.getGoodName()%>的信息：</h3>
                        <div class="am-form-group">
                            <label>
                                <input type="text" name="warehouseId" placeholder="仓库编号" required>
                            </label>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <input type="submit" class="am-btn am-btn-success" value="入库" />
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="resources/js/jquery-1.10.2.min.js">
</script>
<script type="text/javascript" src="resources/js/plugs.js">
</script>
</body>
</html>
